home *** CD-ROM | disk | FTP | other *** search
/ Keystone Learning XML: Entities & Basic Scripting / Keystone Learning XML Entities and Basic Scripting.iso / Sample Files / Chapter 6 / Employees5.xml < prev    next >
Encoding:
Extensible Markup Language  |  1999-12-03  |  1.0 KB  |  44 lines

  1. <?xml version="1.0" standalone="no"?>
  2. <!DOCTYPE employees SYSTEM "Employees3.dtd" [
  3.  
  4. <!ENTITY % EmployeeTitles SYSTEM "EmployeeTitles.dtd">
  5. %EmployeeTitles;
  6. ]>
  7.  
  8. <employees>
  9.  
  10.     <employee id="A1234">
  11.         <name>
  12.             <first>John</first>
  13.             <last>Doe</last>
  14.         </name>
  15.         <position>&pos.programmer;</position>
  16.         <address>
  17.             <street>123 Main Street</street>
  18.             <city>Anywhere</city>
  19.             <state>CA</state>
  20.             <zip>92000</zip>
  21.         </address>
  22.         <phone>
  23.             <main>(714) 555-1000</main>
  24.             <fax>(714) 555-1001</fax>
  25.         </phone>
  26.     </employee>
  27.  
  28.     <employee id="A2345">
  29.         <name>
  30.             <first>Jane</first>
  31.             <last>Doe</last>
  32.         </name>
  33.         <position>&pos.analyst;</position>
  34.         <address>
  35.         </address>
  36.         <phone>
  37.             <main>(714) 555-2000</main>
  38.             <mobile>(949) 555-2200</mobile>
  39.             <home>(949) 555-2220</home>
  40.         </phone>
  41.     </employee>
  42.  
  43. </employees>
  44.